package com.wxy.care.KnnUtils;

public class Instance {
    private double[] features; // 实例的特征向量
    private String category; // 实例的类别

    public Instance(double[] features, String category) {
        this.features = features;
        this.category = category;
    }

    public double[] getFeatures() {
        return features;
    }

    public String getCategory() {
        return category;
    }
}


